﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CottagesOfHope.Core.Models;

namespace CottagesOfHope.Core.Abstract
{
    public interface ICottagesOfHopeRepository : IDisposable
    {
        IQueryable<UserProfile> Users { get; }
        void SaveUser(UserProfile user);

        IQueryable<Profile> Profiles { get; }
        void SaveProfile(Profile profile);

        IQueryable<Tasks> Tasks { get; }
        void SaveTask(Tasks task);

        IQueryable<UserProfile> UserProfile { get; }
    }
}
